Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Brand Evolution - DO NOT MERGE #692

Closed
wants to merge 4 commits into from
Closed

Conversation

georgewrmarshall
Copy link
Collaborator

@georgewrmarshall georgewrmarshall commented May 22, 2024

Description

This PR is created as a draft for testing updates related to the brand evolution across MetaMask Mobile, Extension, and Portfolio interfaces. It includes the implementation of new token names and the integration of brand evolution colors. This testing branch will not merge into the main branch but will serve as a key part of the development process, ensuring that all new branding elements are correctly implemented and visually consistent across all platforms before final deployment.

Related issues

No specific issues are linked to this PR as it serves as a preparatory and testing stage for the upcoming brand updates.

Manual testing steps

  • Navigate through the application to observe the new token names and color schemes.
  • Check color consistency and visibility across different sections of the application.
  • Validate the token renaming across all features to ensure no old names are present.

Screenshots/Recordings

Before

before720.mov

After

after720.mov

@georgewrmarshall georgewrmarshall changed the title Brand evolution - DO NOT MERGE Brand Evolution - DO NOT MERGE May 22, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [762facd]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [5303fcc]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [2129b43]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [2e2cde2]

Storybook: Storybook

MIGRATION.md Outdated
Comment on lines 39 to 45
- grey000 added
- grey025 added
- grey050 added
- grey030 removed
- grey040 removed
- grey750 removed
- grey1000 added
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the final migration documentation, it would be beneficial to include specific code changes. Added
JS
Added

brandColor.grey000
brandColor.grey025

Removed

brandColor.grey030

CSS
Added

--brand-colors-grey-grey000 
--brand-colors-grey-grey025

Removed

--brand-colors-grey-grey030

This detail will aid engineers who are searching for removed tokens in the codebase.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep agree - Migration doc needs some work

inputFilePath,
typesOutputFilePath,
colorsOutputFilePath,
);
Copy link
Collaborator Author

@georgewrmarshall georgewrmarshall May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used in build step. Automates 90% of json conversion to JS but still requires manual changes

// Dark Theme Brand Evolution
const inputFilePathDark = '../src/figma/darkTheme.json';
const colorsOutputFilePathDark = '../src/js/themes/darkTheme/colors.ts';
generateThemeFiles(inputFilePathDark, colorsOutputFilePathDark);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used in build step. Automates 90% of json conversion to JS but still requires manual changes

@metamaskbot
Copy link
Collaborator

Builds ready [0c96ca7]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [0abc6ae]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [8696bd4]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [3312eef]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [d530b83]

Storybook: Storybook

Copy link
Contributor

@garrettbear garrettbear May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix JS mapping so that brandColor.white and brandColor.black show up
http://localhost:6006/?path=/story/colors-brand-colors--js

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in this PR and also fixed to be checked in test as well

@metamaskbot
Copy link
Collaborator

Builds ready [eccf8f5]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [a2fb864]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [5dbfacf]

Storybook: Storybook

@georgewrmarshall georgewrmarshall mentioned this pull request May 23, 2024
13 tasks
@georgewrmarshall georgewrmarshall added the DO NOT MERGE Do not merge PRs that have this label attached label May 29, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [43dfa0c]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [4af43df]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [f7123d0]

Storybook: Storybook

@@ -15,7 +15,7 @@ interface ColorSwatchGroupProps {
/** Hex code value of the theme (light or dark mode) this is used to help determine the text color of each swatch when opacity is involved
* Default is light theme #ffffff
*/
theme?: string | undefined;
theme?: string;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert change

@metamaskbot
Copy link
Collaborator

Builds ready [224015d]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [ca2dee9]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [a89d271]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [8862133]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [1933a08]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [559ed13]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [79214f9]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [b82eeb8]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [3acaa0f]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [418a5af]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [686a77f]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [ac3e875]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [8a8d6f6]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [686a77f]

Storybook: Storybook

@metamaskbot
Copy link
Collaborator

Builds ready [3338396]

Storybook: Storybook

@georgewrmarshall
Copy link
Collaborator Author

This repository is no longer accepting PRs directly. Please reopen this PR in the Metamask Design System repository.

@MetaMask MetaMask locked and limited conversation to collaborators Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
DO NOT MERGE Do not merge PRs that have this label attached
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants